package com.xxl.job.executor.sample.frameless.test.strategy_mode_plus;

public class IntReduceTwoStrategy implements Strategy{
    @Override
    public Object operate(Object object) {
        try {
            return (int)object - 2;
        } catch (Exception e) {
            System.out.println("入参不为整数异常！");
        }
        return null;
    }
}
